package com.kotlinvben.vo

import com.kotlinvben.entity.MenuMeta
import com.kotlinvben.enumeration.Status
import jakarta.validation.constraints.NotBlank

data class MenuCreateVO(
    @field:NotBlank(message = "菜单名称不能为空")
    val name: String,

    @field:NotBlank(message = "菜单类型不能为空")
    val type: String,

    val path: String? = null,

    val component: String? = null,

    val sort: Int = 0,

    val pid: Long? = null,

    val authCode: String? = null,

    val status: Int = Status.ENABLED.code,

    val remark: String? = null,

    val meta: MenuMeta? = null,
)